package com.design.pattern.abstraceFactory;

public abstract class PizzaStore {

    abstract Pizza createPizza();

    public Pizza orderPizza(){
        Pizza pizza;
        pizza = createPizza();
        pizza.prepare();
        pizza.bake();
        pizza.cut();
        pizza.box();
        return pizza;
    }
}